<div class="row">
	<div class="box col-md-12">
		<div class="box-inner">
			<div class="box-header well">
				<h2><i class="glyphicon glyphicon-user"></i> Thông tin lịch sử truy cập</h2>
				<div class="box-icon">
					<a href="#" class="btn btn-minimize btn-round btn-default"><i class="glyphicon glyphicon-chevron-up"></i></a>
					<a href="#" class="btn btn-close btn-round btn-default"><i class="glyphicon glyphicon-remove"></i></a>
				</div>
			</div>
			<div class="box-content">
					<table class="table table-striped table-bordered responsive">
						<thead>
							<tr role="row">
								<th>stt</th>
								<td>Tài Khoản</td>
								<th>Đối tượng</th>
								<th>Chi tiết</th>
								<th>Ngày truy cập</th>
								
								<th></th>
							</tr>
						</thead>
						<tbody><?php
						if(!empty($log)):
							foreach($log as $v):
							?><tr class="">
								<td><?php echo $v->getId(); ?></td>
								<td><?php echo $v->getShUser()->getUsername(); ?></td>
								<td><?php echo $v->getObject(); ?></td>
								<td><?php echo $v->getMessage(); ?></td>
								<td><?php echo date('d-m-Y',$v->getDate()); ?></td>
								
							</tr>

								<?php
							endforeach;
						else:
							?><tr>
								<td>Hiện không thông tin nào</td>
							</tr><?php
						endif;
						?></tbody>
						
					</table>
					
			</div>
		</div>
	</div>
</div>